package littlepicture.utils
{
	public class DateUtil
	{
		public static const millisecondsPerDay:int = 1000 * 60 * 60 * 24;
		
		public static function getMondayDate(date:Date):Date{
			return new Date(date.getTime() - (date.getDay()-1)*millisecondsPerDay);
		}
	}
}